<script setup lang="ts">
const client_id = 'Ov23limt7r1kysiiiNTr'
const redirectUri = encodeURIComponent(`${import.meta.env.VITE_SERVE}/auth/GitHub`)
const GitHubLogin = () => {
  window.location.href = `https://github.com/login/oauth/authorize?client_id=${client_id}&redirect_uri=${redirectUri}&scope=user`;
};
</script>

<template>
  <slot :GitHubLogin="GitHubLogin"></slot>
</template>

<style scoped lang="scss">

</style>